home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 201-225 / disk_201 / draco / drinc / graphics / rastport.g < prev    next >
Text File  |  1992-05-06  |  3KB  |  115 lines

  1. type
  2. „AreaInfo_t=struct{
  3. ˆ*uintai_VctrTbl;
  4. ˆ*uintai_VctrPtr;
  5. ˆ*ushortai_FlagTbl;
  6. ˆ*ushortai_FlagPtr;
  7. ˆuintai_Count;
  8. ˆuintai_MaxCount;
  9. ˆuintai_FirstX,ai_FirstY;
  10. „},
  11.  
  12. „TmpRas_t=struct{
  13. ˆPLANEPTRtr_RasPtr;
  14. ˆulongtr_Size;
  15. „},
  16.  
  17. „GelsInfo_t=struct{
  18. ˆushortgi_sprRsrvd;
  19. ˆushortgi_Flags;
  20. ˆ*VSprite_tgi_gelHead,gi_gelTail;
  21. ˆ*[8]uintgi_nextLine;
  22. ˆ*[8]*uintgi_lastColor;
  23. ˆ*collTable_tgi_collHandler;
  24. ˆuintgi_leftmost,gi_rightmost,gi_topmost,gi_bottommost;
  25. ˆ*bytegi_firstBlissObj,gi_lastBlissObj;
  26. „},
  27.  
  28. „RastPort_t=struct{
  29. ˆ*Layer_trp_Layer;
  30. ˆ*BitMap_trp_BitMap;
  31. ˆ*uintrp_AreaPtrn;
  32. ˆ*TmpRas_trp_TmpRas;
  33. ˆ*AreaInfo_trp_AreaInfo;
  34. ˆ*GelsInfo_trp_GelsInfo;
  35. ˆushortrp_Mask;
  36. ˆushortrp_FgPen,rp_BgPen,rp_AOlPen;
  37. ˆushortrp_DrawMode;
  38. ˆshortrp_AreaPtSz;
  39. ˆushortrp_linpatcnt;
  40. ˆushortrp_dummy;
  41. ˆuintrp_Flags;
  42. ˆuintrp_LinePtrn;
  43. ˆintrp_cp_x,rp_cp_y;
  44. ˆ[8]ushortrp_minterms;
  45. ˆuintrp_PenWidth,rp_PenHeight;
  46. ˆ*TextFont_trp_Font;
  47. ˆushortrp_AlgoStype,rp_TxFlags;
  48. ˆuintrp_TxHeight,rp_TxWidth,rp_TxBaseLine,rp_txSpacing;
  49. ˆ*byterp_RP_User;
  50. ˆ[2]ulongrp_longreserved;
  51. ˆ[7]uintrp_wordreserved;
  52. ˆ[8]byterp_reserved;
  53. „};
  54.  
  55. ushort
  56. „JAM1ˆ=0,
  57. „JAM2ˆ=1,
  58. „COMPLEMENT‚=2,
  59. „INVERSVIDƒ=4,
  60.  
  61. „FRST_DOT„=0x01,
  62. „ONE_DOT…=0x02,
  63. „DBUFFER…=0x04,
  64.  
  65. „AREAOUTLINE=0x08,
  66. „NOCROSSFILL=0x20;
  67.  
  68. extern
  69. „AreaCircle(*RastPort_trp;uintcx,xy,r)bool,
  70. „AreaDraw(*RastPort_trp;ulongx,y)bool,
  71. „AreaEllipse(*RastPort_trp;ulongcx,cy,a,b)bool,
  72. „AreaEnd(*RastPort_trp)bool,
  73. „AreaMove(*RastPort_trp;ulongx,y)bool,
  74. „BltBitMapRastPort(*BitMap_tsrc;ulongsrcX,srcY;
  75. –*RastPort_tdst;ulongdstX,dstY;
  76. –ulongsizX,sizY,minTerm)void,
  77. „BltClr(*byteptr;ulongbyteCount,flags)void,
  78. „BltMaskBitMapRastPort(*BitMap_tsrc;ulongsrcX,srcY;
  79. š*RastPort_tdst;ulongdstX,dstY;
  80. šulongsizX,sizY,minTerm;
  81. š*uintblitMask)void,
  82. „BltPattern(*RastPort_trp;ulongmask,x1,y1,maxx,maxy,bytecnt)void,
  83. „BltTemplate(*uintsrc;ulongsrcX,srcMod;
  84. *RastPort_trp;ulongdstX,dstY,sizX,sizY)void,
  85. „BOUNDARY_OFF(*RastPort_trp)void,
  86. „ClearEOL(*RastPort_trp)void,
  87. „ClearScreen(*RastPort_trp)void,
  88. „ClipBlit(*RastPort_tsrc;ulongsrcX,srcY;
  89. *RastPort_tdst;ulongdstX,dstY;
  90. ulongsizX,sizY,minterm)ulong,
  91. „Draw(*RastPort_trp;ulongx,y)void,
  92. „DrawCircle(*RastPort_trp;uintcx,cy,r)void,
  93. „DrawEllipse(*RastPort_trp;ulongcx,cy,a,b)void,
  94. „Flood(*RastPort_trp;ulongmode,x,y)bool,
  95. „InitArea(*AreaInfo_tareaInfo;*bytebuffer;ulongmaxVectors)void,
  96. „InitRastPort(*RastPort_trp)void,
  97. „InitTmpRas(*TmpRas_ttmpRas;PLANEPTRbuffer;ulongsize)void,
  98. „Move(*RastPort_trp;ulongx,y)void,
  99. „PolyDraw(*RastPort_trp;ulongcount;*uintarray)void,
  100. „ReadPixel(*RastPort_trp;ulongx,y)short,
  101. „RectFill(*RastPort_trp;ulongxmin,ymin,xmax,ymax)void,
  102. „ScrollRaster(*RastPort_trp;ulongdx,dy,xmin,ymin,xmax,ymax)void,
  103. „SetAfPt(*RastPort_trp;*uintpattern;shortsize)void,
  104. „SetAPen(*RastPort_trp;ulongpen)void,
  105. „SetBPen(*RastPort_trp;ulongpen)void,
  106. „SetDrMd(*RastPort_trp;ulongmode)void,
  107. „SetDrPt(*RastPort_trp;uintpattern)void,
  108. „SetFont(*RastPort_trp;*TextFont_ttextFont)void,
  109. „SetOPen(*RastPort_trp;ushortpen)void,
  110. „SetRast(*RastPort_trp;ulongpen)void,
  111. „SetWrMsk(*RastPort_trp;ushortmask)void,
  112. „Text(*RastPort_trp;*charstring;ulongcount)void,
  113. „TextLength(*RastPort_trp;*charstring;ulongcount)ulong,
  114. „WritePixel(*RastPort_trp;ulongx,y)bool;
  115.